package com.burt.factory.func;

/**
 * Description:工厂方法测试类
 * User: Burt
 * Date: 2017-05-23
 * Time: 21:34
 */
public class FactoryTest {
    public static void main(String[] args){
        IFactory factory = new VerifySmsFactory();
        factory.sendSMS();

        factory = new AdSmsFactory();
        factory.sendSMS();
    }
}
